#pragma once
#include "XCom.h"
#include "XMsgEvent.h"
class XThreadPool;
class XCOM_API XServerClient : public XMsgEvent {
public:
    XServerClient();
    ~XServerClient();
    // 加入到线程池中进行连接，
    virtual void StartConnect();
    //
    // virtual void 
private:
    XThreadPool *m_threadPool = nullptr;
};
